package org.whh.metadata.actuator;

import org.whh.metadata.common.MetadataInfo;

/**
 * @Version v1.0
 * @Author Ryan
 * @Date 2021/7/12
 * N-G-P
 * define some basic method to collect metadata ,
 * then wrapper the meta-info, according to the meta-model to mapping attribute
 */
public interface BaseActuator {


    /**
     * default collect meta method
     * @return
     */
    MetadataInfo collectMetaInfo();

    /**
     * schema 筛选
     * @param schemaPattern
     * @return
     */
    MetadataInfo collectMetaInfo(String schemaPattern);


    /**
     * schema table 筛选
     * @param schemaPattern schema filter
     * @param tablePattern table filter
     * @return
     */
    MetadataInfo collectMetaInfo(String schemaPattern,String tablePattern);
}
